//
//  MyDelegate.h
//  MeeffDylib
//
//  Created by global on 2023/11/28.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

#define localDeviceInfo @"localDeviceInfo"

#define LOGGING_ENABLED 0

// 在文件顶部定义宏
#if LOGGING_ENABLED
#define NSLog(...) NSLog(__VA_ARGS__)
#else
#define NSLog(...) (void)0
#endif

//随机存储空间
 static float randomFloatBetween(float smallNumber, float bigNumber) ;




@interface MyDelegate : NSObject

@property(weak, nonatomic, nullable) id<CLLocationManagerDelegate> delegate;
@property( assign, nonatomic)  NSInteger type;


// 实现类方法，用于获取单例实例
+ (instancetype)sharedInstance ;
//清除所有数据
+ (void) clearAllData;


//随机选择一个版本号
+(NSString* ) randomSystemVersion ;
//随机生成电量
+( float) randomBatteryLevel;
//随机生型号
+(NSString*) randomDeviceModel;

//随机韩国经纬度
+(CLLocation*) randomLocationInKorea ;
//随机存储空间
+(float) randomFloatBetween:(float) smallNumber bigNumber:(float) bigNumber;

//保存本地数据
+(void)saveDevic:(NSString*) localkey  dic:(NSDictionary*) dic;

+(id)getDevic:(NSString*) localkey  key:(NSString*) key;

//NSLog(@"广告标识符 特么method  :");
+ (NSUUID*) advertisingIdentifier;

+ (NSUUID*) identifierForVendor;


@end

